package com.hckjsec.cloud.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hckjsec.cloud.mapper.AppletsSdkVerificationMapper;
import com.hckjsec.cloud.domain.AppletsSdkVerification;
import com.hckjsec.cloud.service.IAppletsSdkVerificationService;

/**
 * SDK身份核验Service业务层处理
 * 
 * @author cyt
 * @date 2022-01-21
 */
@Service
public class AppletsSdkVerificationServiceImpl implements IAppletsSdkVerificationService 
{
    @Autowired
    private AppletsSdkVerificationMapper appletsSdkVerificationMapper;

    /**
     * 查询SDK身份核验
     * 
     * @param orderNo SDK身份核验ID
     * @return SDK身份核验
     */
    @Override
    public AppletsSdkVerification selectAppletsSdkVerificationById(String orderNo)
    {
        return appletsSdkVerificationMapper.selectAppletsSdkVerificationById(orderNo);
    }

    /**
     * 查询SDK身份核验列表
     * 
     * @param appletsSdkVerification SDK身份核验
     * @return SDK身份核验
     */
    @Override
    public List<AppletsSdkVerification> selectAppletsSdkVerificationList(AppletsSdkVerification appletsSdkVerification)
    {
        return appletsSdkVerificationMapper.selectAppletsSdkVerificationList(appletsSdkVerification);
    }

    /**
     * 新增SDK身份核验
     * 
     * @param appletsSdkVerification SDK身份核验
     * @return 结果
     */
    @Override
    public int insertAppletsSdkVerification(AppletsSdkVerification appletsSdkVerification)
    {
        return appletsSdkVerificationMapper.insertAppletsSdkVerification(appletsSdkVerification);
    }

    /**
     * 修改SDK身份核验
     * 
     * @param appletsSdkVerification SDK身份核验
     * @return 结果
     */
    @Override
    public int updateAppletsSdkVerification(AppletsSdkVerification appletsSdkVerification)
    {
        return appletsSdkVerificationMapper.updateAppletsSdkVerification(appletsSdkVerification);
    }

    /**
     * 批量删除SDK身份核验
     * 
     * @param orderNos 需要删除的SDK身份核验ID
     * @return 结果
     */
    @Override
    public int deleteAppletsSdkVerificationByIds(String[] orderNos)
    {
        return appletsSdkVerificationMapper.deleteAppletsSdkVerificationByIds(orderNos);
    }

    /**
     * 删除SDK身份核验信息
     * 
     * @param orderNo SDK身份核验ID
     * @return 结果
     */
    @Override
    public int deleteAppletsSdkVerificationById(String orderNo)
    {
        return appletsSdkVerificationMapper.deleteAppletsSdkVerificationById(orderNo);
    }
}
